#ifndef _ACTION_LOGOUT_H
#define _ACTION_LOGOUT_H

typedef enum {
    ACTION_LOGOUT_SUCCESSFULLY,
    ACTION_LOGOUT_FAILED,
    ACTION_LOGOUT_PARSING_FAILED,
    ACTION_FETCHING_FAILED
} action_logout_status;

typedef struct {
    action_logout_status status;
    const char* message;
} action_logout_result;

action_logout_result action_logout(
    const char* bind_interface,
    const char* portal_host,
    const char* portal_search,
    const char* user_index
);

#endif
